package com.efast.dmom.aps.service;

import java.util.List;

import com.efast.dmom.aps.bean.Plan;
import com.efast.dmom.aps.bean.ResultBean;

/**
 * 
 * @author WJ modify
 * @Data 2020/2/18
 *
 */
public interface PlanService {
	public ResultBean save(Plan plan);
	public ResultBean delete(Plan plan);
	public ResultBean update(Plan plan);
	
	public Plan getById(long id);
	public Plan getByName(String name);
	public Plan getByPlanNo(String planNo);
	public List<Plan> getByStatus(String status);

	public ResultBean decompositionByPlan(Plan plan);
}

